{% block doc -%}
<!DOCTYPE html>
<html{% block html_attribs %}{% endblock html_attribs %}>
{%- block html %}
<head>
{% block head %}
<title>{% block title %}{% endblock title %}</title>
{% block metas %}
<meta http-equiv="Content-Type" content="text/html" charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
{% endblock metas %}
{% block styles %}
<link href="{{ url_for('static', filename='favicon.ico') }}" rel="shortcut icon" type="image/x-icon" />
<link href="{{ url_for('static', filename='favicon.ico') }}" rel="icon" type="image/x-icon"  />
<link href="{{ url_for('static', filename='default/css/base.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ url_for('static', filename='default/css/moudle_search_panel.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ url_for('static', filename='default/css/moudle_g_search_bar.css') }}" rel="stylesheet" type="text/css" />
<link href="{{ url_for('static', filename='default/css/moudle_g_taglist.css') }}" rel="stylesheet" type="text/css" />
{% endblock styles %}
{% block scripts %}
<script src="{{ url_for('static', filename='plug-in/jquery-2.1.3.min.js') }}" type="text/javascript"></script>
<!--[if lt IE 9]>
<script src="{{ url_for('static', filename='plug-in/jquery-1.9.0.min.js') }}" type="text/javascript"></script>
<![endif]-->
<script src="{{ url_for('static', filename='default/js/stylelistener.jquery.min.js') }}" type="text/javascript"></script>
<script src="{{ url_for('static', filename='default/js/moudle_search_panel.js') }}" type="text/javascript"></script>
{% endblock scripts %}
{% endblock head %}
</head>
<body{% block body_attribs %}{% endblock body_attribs %}>
<div class="wrap">
    <div class="main clearfix">
        <div id="panel_yang">
            <div style="clear:both;"></div>
            {% block body -%}
            {% block topbar %}
            {% include 'default/moudle_topbar.html' %}
            {% endblock topbar %}
            {% block content -%}
            <div class="container">
                {% for message in get_flashed_messages() %}
                <div class="alert alert-warning">
                    <button type="button" class="close" data-dismiss="alert">&times;</button>
                    {{ message }}
                </div>
                {% endfor %}

                {% block page_content %}{% endblock %}
            </div>
            {%- endblock content %}
            {%- endblock body %}
            <div style="clear:both;"></div>
        </div>
        <div id="panel_yin" style="display: none;">
            <div style="clear:both;"></div>
            {% block panel_yin %}
            {% include 'default/moudle_search_panel.html' %}
            {%- endblock panel_yin %}
            <div style="clear:both;"></div>
        </div>
    </div>
</div>
<div class="footer">
    <div class="copyright">
        Copyright ©
        <strong><a href="/" target="_blank">CARLOZ</a></strong>&nbsp;
        All Rights Reversed.
        {% if current_user.is_authenticated() %}
        <span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>
        <span><a href="#">简体中文</a>&nbsp;|&nbsp;</span>
        <span><a href="#">English</a></span>
        {% endif %}
    </div>
</div>
</body>
{%- endblock html %}
</html>
{% endblock doc -%}